package com.bm.api.service;

import com.bm.common.bo.ChatBo;
import com.bm.common.util.Rutils;
import com.bm.common.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Description:
 * @Author: 赵金帅
 * @Date: 2022/07/21/11:20
 */
@FeignClient(value="bm-Server")
public interface SendMsgService {
    @PostMapping("/server/send/onemsg.do")
    R sendOne(@RequestBody ChatBo bo);
    @PostMapping("/server/send/moremsg.do")
    R sendmore(@RequestParam String msg);

}
